﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.Extensions
{
    /// <summary>
    /// 系统枚举类管理
    /// </summary>
    public class SystemEnums
    {
        private const string AppSettingString = "AppSetting";

        public class AppSetting
        {
            public const string ConnectionStrings = AppSettingString + "_ConnectionStrings";


        }

        #region redis相关枚举
        public static class RedisEnum
        {
            public const string FUNCTION_PREFIX = "Alex_Function";
        }
        #endregion


         

    }


    /// <summary>
    /// Redis键
    /// </summary>
    public class RedisKeys
    {
        /// <summary>
        /// 获取登录Token
        /// </summary>
        public static string LoginToken(string token)
        {
            return string.Format("LoginToken:{0}", token);
        }
    } 

}
